package com.quanyan.common.constants;

/**
 * Created by Administrator on 2016/7/25.
 *  Mq常量
 */
public class MqConstants {
    //俱乐部经验
    public static final String CLUB_XP_LEVEL_TOPIC_NAME = "CLUB_XP_LEVEL_TOPIC"; //俱乐部经验等级主题

    public static final int CLUB_XP_LEVEL_FLAG_NAME = 1;

    public static final String CLUB_XP_LEVEL_TAGS_NAME = "CLUB_XP_LEVEL_TAGS";

    /**
     * 个人勋章生产者
     */
    public static final class UserMedalProducer{

        public static final String USER_MEDAL_GROUP = "USER_MEDAL_GROUP";

        public static final String USER_MEDAL_INSTANCE = "USER_MEDAL_INSTANCE";
    }

    /**
     * 个人勋章消费者
     */
    public static final class UserMedalConsumer{

        public static final String USERE_MEDAL_TOPIC = "USERE_MEDAL_TOPIC";

        public static final String USER_MEDAL_TAGS = "USER_MEDAL_TAGS";
    }

    /**
     * 俱乐部勋章生产者
     */
    public static final class ClubMedalProducer{

        public static final String CLUB_MEDAL_GROUP = "CLUB_MEDAL_GROUP";

        public static final String CLUB_MEDAL_INSTANCE = "CLUB_MEDAL_INSTANCE";
    }

    /**
     * 俱乐部勋章消费者
     */
    public static final class ClubMedalConsumer{

        public static final String CLUB_MEDAL_TOPIC = "CLUB_MEDAL_TOPIC";

        public static final String CLUB_MEDAL_TAGS = "CLUB_MEDAL_TAGS";
    }


    /**
     * 运动场对于用户中心消费者
     */
    public static final class StadiumUserRegisterConsumer{

        public static final String STADIUM_USER_REGISTER_TOPIC = "STADIUM_USER_REGISTER_TOPIC";

        public static final String STADIUM_USER_REGISTER_TAGS = "STADIUM_USER_REGISTER_TAGS";
    }

    /**
     * 用户更新信息通知
     */
    public static final class UserUpdateTopicAndTags{
        public static final String USER_UPDATE_NOTIFY_TOPIC = "USER_UPDATE_NOTIFY_TOPIC";
        public static final String USER_UPDATE_NOTIFY_TAGS = "USER_UPDATE_NOTIFY_TAGS";
    }

    public static final class UserUpdateType{
        public static final int PHONE_UPDATE = 1;
        public static final int NICKNAME_UPDATE = 2;

    }

}
